﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Database.Interface.Interface
{
    public interface IBaseResotity<T>
    {
        DataDbcontext Db { get; }
        IQueryable<T> GetAll();
        T Get(int id);
        int Add (T entity);
        int Update (T entity);
        int Delete (T entity);
    }
}
